package com.design;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * 文档记录
 */
public class DocumentMemento {
    private String content;
    private String time;

    public DocumentMemento(String content) {
        this.content = content;
        this.time= System.currentTimeMillis()+"";
    }

    public String getContent() {
        return content;
    }

    public String getTime() {
        return time;
    }
}
